package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 聊天记录管理对象 tb_merchant_customer_chat_record
 * 
 * @author ruoyi
 * @date 2024-09-12
 */
public class TbMerchantCustomerChatRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 顾客ID */
    @Excel(name = "顾客ID")
    private Long customerId;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Long merchantId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 发送方 */
    @Excel(name = "发送方")
    private String messageSender;

    /** 发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date messageSentTime;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String messageInfo;

    /** 商家店铺名 */
    @Excel(name = "商家店铺名")
    private String merchantName;

    /** 用户名 */
    @Excel(name = "用户名")
    private String customerName;

    /** 店铺id */
    @Excel(name = "店铺ID")
    private Long storeId;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setMessageSender(String messageSender) 
    {
        this.messageSender = messageSender;
    }

    public String getMessageSender() 
    {
        return messageSender;
    }
    public void setMessageSentTime(Date messageSentTime) 
    {
        this.messageSentTime = messageSentTime;
    }

    public Date getMessageSentTime() 
    {
        return messageSentTime;
    }
    public void setMessageInfo(String messageInfo) 
    {
        this.messageInfo = messageInfo;
    }

    public String getMessageInfo() 
    {
        return messageInfo;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    @Override
    public String toString() {
        return "TbMerchantCustomerChatRecord{" +
                "recordId=" + recordId +
                ", customerId=" + customerId +
                ", merchantId=" + merchantId +
                ", orderId=" + orderId +
                ", messageSender='" + messageSender + '\'' +
                ", messageSentTime=" + messageSentTime +
                ", messageInfo='" + messageInfo + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", customerName='" + customerName + '\'' +
                ", storeId='" + storeId + '\'' +
                '}';
    }
}
